<!DOCTYPE HTML>
<html>
<head>
<title>${siteTitle}</title>
<meta http-equiv="Content-Type" content="text/html" charset="utf-8" />
<meta http-equiv="Content-Language" content="en-us" />
<meta name="title" content="${siteTitle}" />
<meta itemprop="name" content="${siteTitle}" />
<meta name="description" content="${siteTitle}" />
<meta itemprop="description" content="${siteTitle}" /> 
<meta name="keywords" content="" />

<link href="/styles/styles.css" type="text/css" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="/styles/jquery.fancybox-1.3.4.css" media="screen" />
<link href="/scripts/jalerts/jquery.alerts.css" rel="stylesheet" type="text/css" media="screen" />
<script type="text/javascript">
document.createElement('header');
document.createElement('footer');
document.createElement('section');
</script>
    <script type="text/javascript" src="/scripts/utilities.js"></script>
	<script type="text/javascript" src="/scripts/jquery-1.3.2.min.js"></script>
	<script type="text/javascript" src="/scripts/jquery.mousewheel-3.0.4.pack.js"></script>
	<script type="text/javascript" src="/scripts/jquery.fancybox-1.3.4.pack.js"></script>
	<script type="text/javascript" src="/scripts/jquery.swfupload.js"></script>
	<script type="text/javascript" src="/scripts/swfupload/swfupload.js"></script>
	<script src="/scripts/jalerts/jquery.alerts.js" type="text/javascript"></script>
	<script type="text/javascript" src="/scripts/jquery-ui-1.8.16.custom.min.js"></script>
	<script src="/scripts/jalerts/jquery.ui.draggable.js" type="text/javascript"></script>
<link rel="stylesheet" href="/styles/thickbox.css" />
<script type="text/javascript" src="/scripts/thickbox.js"></script>
	
</head>
<body>


<?php if($_SESSION) { ?>
<div id="container">
<tal:block tal:omit-tag="" tal:content="structure php: this.action('index','header','header')" /> 
<div id="BodyContainer">
<div id="blockCont">
<tal:block tal:content="structure this/layout/content"/>
<div class="clear"></div>
</div>
<div class="clear"></div>
</div>
</div>
<tal:block tal:content="structure php: this.partial('footer.html')"/>
<?php } else { ?>
<div class="HomeBg">
<div class="HomeImg">
<tal:block tal:omit-tag="" tal:content="structure php: this.action('login','header','header')" /> 
<tal:block tal:content="structure this/layout/content"/>
<div class="clear"></div>
<tal:block tal:content="structure php: this.partial('footerlogin.html')"/>
</div>
</div>
<?php } ?>
</body>
</html>
